﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Domain.Appointment
{
    /// <summary>
    /// 预约
    /// </summary>
    public class Appointments
    {
        [Key]
        public int AppointmentId { get; set; }
        /// <summary>
        /// 就诊医院
        /// </summary>
        public string Attending { get; set; }
        /// <summary>
        /// 医院地址
        /// </summary>
        public string DoctorAddress { get; set; }
        /// <summary>
        /// 就诊科室
        /// </summary>
        public string Department { get; set; }
        /// <summary>
        /// 就诊医生
        /// </summary>
        public string AttendingName { get; set; }

        /// <summary>
        /// 医生职称
        /// </summary>
        public string DoctorName { get; set; }
        /// <summary>
        /// 挂号类型
        /// </summary>
        public int RegistTypeId { get; set; }
        /// <summary>
        /// 门诊时间
        /// </summary>
        public DateTime OutpatientTime { get; set; }
        /// <summary>
        /// 候诊时间
        /// </summary>
        public DateTime WaitingTime { get; set; }
        /// <summary>
        /// 挂号费
        /// </summary>
        public int Cost { get; set; }
        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime AppointmentTime { get; set; }
        /// <summary>
        /// 就诊状态
        /// </summary>
        public bool MedicalState { get; set; }
        /// <summary>
        /// 取消原因
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 取消时间
        /// </summary>
        public DateTime CancelTime { get; set; }
        /// <summary>
        /// 挂号备注
        /// </summary>
        public string Desc {  get; set; }
        /// <summary>
        /// 患者信息
        /// </summary>
        public int PatientId { get; set; }

        //科室
        //科室外键
        public int DepartmentId { get; set; }


    }
}
